package gameengine.opponents;

import gameengine.Endround;
import gameengine.map.Action;
import gameengine.map.Map;

public final class KI extends AbstractOpponent {
    private final transient int party;
    @SuppressWarnings("unused")
    private Map gamemap;

    // eigener Prozess wegen Stack

    public KI(final int kiParty) {
        super();
        this.party = kiParty;
    }

    @Override
    public void newRound(final int round) {
        final Action action = new Endround(party);
        setChanged();
        notifyObservers(action);
    }

    @Override
    public void setMap(final Map map) {
        gamemap = map;
    }
}
